Create registry credential

POST {{baseUrl}}/registrycredentials

Create registry credential

Request Body

{"name"=>"<string>", "registry"=>"GITLAB", "username"=>"<string>", "authToken"=>"<string>", "ownerId"=>"<string>"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: Created

{&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;username&quot;:&quot;\u003cstring\u003e&quot;,&quot;registry&quot;:&quot;DOCKER&quot;}