Creates an authentication credential.
Credential resource.
Credential created.
Location | string <uri> Location of the related resource. Example: "https://api.rebilly.com/example" |
Unauthorized access. Invalid credentials used.
Access forbidden.
Invalid data sent.
{- "username": "string",
- "password": "pa$$word",
- "customerId": "cus_0YV7DDSDD1C8DA64KHH2W33CPF",
- "expiredTime": "2019-08-24T14:15:22Z"
}
{- "id": "4f6cf35x-2c4y-483z-a0a9-158621f77a21",
- "username": "string",
- "customerId": "cus_0YV7DDSDD1C8DA64KHH2W33CPF",
- "expiredTime": "2019-08-24T14:15:22Z",
- "_links": [
- {
- "href": "string",
- "rel": "self"
}
]
}