- Update a service credential
Updates a service credential with a specified ID.
Service credential resource.
Status of the credential.
| Enum Value | Description |
|---|---|
| active | Credential is active and can be used. |
| inactive | Credential is temporarily inactivated and cannot be used until reactivated. |
| deactivated | Credential is permanently deactivated and cannot be reactivated. |
- Mock serverhttps://www.rebilly.com/_mock/catalog/all/service-credentials/{type}/{id}
- Sandbox serverhttps://api-sandbox.rebilly.com/organizations/{organizationId}/service-credentials/{type}/{id}
- Live serverhttps://api.rebilly.com/organizations/{organizationId}/service-credentials/{type}/{id}
curl -i -X PATCH \
'https://www.rebilly.com/_mock/catalog/all/service-credentials/{type}/{id}' \
-H 'Content-Type: application/json' \
-H 'REB-APIKEY: YOUR_API_KEY_HERE' \
-d '{
"status": "active",
"type": "smtp"
}'Service credential updated.
Maximum number of requests available at one time for this rate limit. For more information, see Rate limits.
Number of requests still available for this rate limit. For more information, see Rate limits.
Status of the credential.
| Enum Value | Description |
|---|---|
| active | Credential is active and can be used. |
| inactive | Credential is temporarily inactivated and cannot be used until reactivated. |
| deactivated | Credential is permanently deactivated and cannot be reactivated. |
Date and time when the credential is deactivated.
{ "id": "crd_0YV9Y706QGCB39FQD380G1ZHZH", "hash": "crd_0YV9Y706QGCB39FQD380G1ZHZH", "status": "active", "deactivationTime": "2019-08-24T14:15:22Z", "type": "smtp", "host": "string", "port": 25, "encryption": "none", "auth": { "type": "none" }, "_links": [ { … } ] }