Type of the credential. Value that matches the {type} path parameter. For backward compatibility, when this field is absent, the {type} path parameter supplies the credential type.
Security
SecretApiKey or JWT
| Enum Value | Description |
|---|---|
| active | |
| inactive | |
| deactivated |
- 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"
}'Headers
Maximum number of requests available at one time for this rate limit. For more information, see Rate limits.
Example:500
Number of requests still available for this rate limit. For more information, see Rate limits.
Example:499
| Enum Value | Description |
|---|---|
| active | |
| inactive | |
| deactivated |
Response
{ "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": [ { … } ] }