/
Update a service credenti...
Updates a service credential with a specified ID.
Security
SecretApiKey or JWT
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}
- SecretApiKey
- JWT
- smtp
- webhook
- mailgun
- sendgrid
- aws-ses
- oauth2
- postmark
- experian
- avalara
- plaid
- taxjar
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.
Headers
Total number of rate limit tokens for this request within a rate limit period. For more information, see Rate limits.
Example:3600
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.
Response
- smtp
- webhook
- experian
- mailgun
- oauth2
- postmark
- sendgrid
- aws-ses
- taxjar
- avalara
- plaid
{ "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": [ { … } ] }