PATCH /acs/credentials/assign ⇒ void
Assigns a specified credential to a specified ACS user.
{% tabs %} {% tab title="JavaScript" %}
await seam.acs.credentials.assign({
acs_user_id: "33333333-3333-3333-3333-333333333333",
acs_credential_id: "66666666-6666-6666-6666-666666666666",
});
// void
{% endtab %}
{% tab title="Python" %}
seam.acs.credentials.assign(
acs_user_id="33333333-3333-3333-3333-333333333333",
acs_credential_id="66666666-6666-6666-6666-666666666666",
)
None
{% endtab %}
{% tab title="Ruby" %}
seam.acs.credentials.assign(
acs_user_id: "33333333-3333-3333-3333-333333333333",
acs_credential_id: "66666666-6666-6666-6666-666666666666",
)
nil
{% endtab %}
{% tab title="PHP" %}
<?php
$seam->acs->credentials->assign(
acs_user_id: "33333333-3333-3333-3333-333333333333",
acs_credential_id: "66666666-6666-6666-6666-666666666666"
);
null
{% endtab %}
{% tab title="Seam CLI" %}
seam acs credentials assign --acs_user_id "33333333-3333-3333-3333-333333333333" --acs_credential_id "66666666-6666-6666-6666-666666666666"
{}
{% endtab %}
{% tab title="Go" %}
package main
import api "github.com/seamapi/go"
import credentials "github.com/seamapi/go/credentials"
func main() {
client.Acs.Credentials.Assign(
context.Background(),
credentials.CredentialsAssignRequest{
AcsUserId: api.String("33333333-3333-3333-3333-333333333333"),
AcsCredentialId: api.String("66666666-6666-6666-6666-666666666666"),
},
)
}
nil
{% endtab %}
{% endtabs %}
- API key
- Personal access token
Must also include theseam-workspace
header in the request.
Type: string
Required: Yes
ID of the desired credential.
Type: string
Required: Yes
ID of the desired user.
void