POST v1/Delivery/Repositories/{repositoryId}/Users

User roles allowed to make this request: DomainAdministrator

Permissions required to make this request: Repository.Write Repository.Read

Creates a new repository user based on the given data.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
repositoryId

The repository id.

integer

Required

Body Parameters

The username

string

None.

Request Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>

application/x-www-form-urlencoded

Sample:
sample

multipart/form-data

Sample:

Sample not available.

Response Information

Resource Description

The password

Response Message

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>