Skip to main content

Add credential to ServiceSubscriber


ApiScope: manage.servicesubscriber.write
API Scope Level: ServiceSubscriberScope
Path Parameters
    serviceSubscriberUUID string required
Request Body required
    name string required
    description string
    tokenExpiryMethod string
    expiryMethodValue string
Responses

OK


Schema
    errors object[]
  • Array [
  • errorCode int32
    errorTitle string
    errorMessage string
  • ]
  • warnings object[]
  • Array [
  • warningCode int32
    warningTitle string
    warningMessage string
  • ]
  • apiRequestId string
    name string
    description string
    userName string
    password string
    tokenExpiryMethod string
    expiryMethodValue string
    isValid boolean
POST /v2/servicesubscriber/:serviceSubscriberUUID/credential

Authorization

name: basicAuthtype: httpscheme: basic

Request

Base URL
/manage
Username
Password
serviceSubscriberUUID — path required
Body required
{
"name": "string",
"description": "string",
"tokenExpiryMethod": "string",
"expiryMethodValue": "string"
}
Accept
curl / cURL
curl -L -X POST '/manage/v2/servicesubscriber/:serviceSubscriberUUID/credential' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"name": "string",
"description": "string",
"tokenExpiryMethod": "string",
"expiryMethodValue": "string"
}'