Create Target Credential
Credentials
Create Target Credential
Store a credential on a target. Before adding an api_key credential, the API target must already have non-empty api_auth_instructions; update the target with the validation route, HTTP method, request shape, and successful response first.
POST
Create Target Credential
Authorizations
API key generated from the MindFort dashboard. Pass as Authorization: Bearer <your-api-key>.
Path Parameters
Body
application/json
Required string length:
1 - 255Available options:
application_login, magic_link, email_mfa, authenticator_2fa, sms_mfa, sms_login, api_key Maximum string length:
255Required string length:
1 - 255Available options:
user, admin, viewer, editor, custom Required string length:
1 - 255Pattern:
^[A-Za-z]{2}$Response
201 - application/json
Credential stored
System-provisioned phone number for SMS credentials; not a writable authenticator input.